
import Home from '../page/home'
import Detail from '../page/detail'
import Menu from '../page/menu'


const routes = [{
  component: Home,
  path: '/home',
}, {
  component: Detail,
  path: '/detail'
}, {
  component: Menu,
  path: '/menu'
}, {
  from: '/',
  to: '/home'
}]

export default routes